package org.csu.jpetstore_users_backend_pj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("product")
public class Product {
    @TableId(value = "productid")
    private String productId;//在数据库里会认为是全小写product_id
    @TableField("categoryid")
    private String categoryId;
    private String name;
    @TableField(value = "description")
    private String description;
    @TableField(value = "img")
    private String img;
}
